Mesh should be created using "ideasUnvToFoam MX_7.unv" command.
Then in polyMesh folder in boundary dict ground type should be changed to wall and sides type should be changed to empty.
Then "decomposePar" command should be used.
Then "setFields" command should be used.
Then "interFoam" to finally get the results.